#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFileInfoList>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

     void wheelEvent(QWheelEvent *event);

     void changePicSize();

private slots:
     void on_actionfile_triggered();

     void on_actiondir_triggered();

     void on_nextBtn_clicked();

     void on_lastBtn_clicked();

private:
    Ui::MainWindow *ui;


    int labelWeight;
    int labelHeight;
    int labelMinSize = 100;
    int labelMaxSize = 1000;

    int index = 0;
    QFileInfoList list;

    QPixmap pix;
};

#endif // MAINWINDOW_H
